package com.woniu.product.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sche_private_course")
public class SchePrivateCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sche_id", type = IdType.AUTO)
    private Integer scheId;

    @TableField("user_id")
    private Integer userId;

    @TableField("course_id")
    private Integer courseId;

    @TableField("coach_id")
    private Integer coachId;

    @TableField("gym_num")
    private String gymNum;

    @TableField("time_date")
    private LocalDate timeDate;

    /**
     * 早、中、晚
     */
    @TableField("frame_name")
    private String frameName;

    @TableField("course_number")
    private Integer courseNumber;

    /**
     * 0预约中 1成功 2失败 3取消
     */
    @TableField("sche_state")
    private Integer scheState;

    @TableField("remark")
    private String remark;

    @TableField("cancel_date")
    private LocalDateTime cancelDate;

    @TableField("cancel_reason")
    private String cancelReason;

    @TableField("fail_date")
    private LocalDateTime failDate;

    @TableField("fail_reason")
    private String failReason;

    /**
     * 场馆负责人
     */
    @TableField("fail_person")
    private String failPerson;


}
